<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>

  <body>
    <script src="./lib/Promise之ES6版.js"></script>
    <script>
      const p1 = Promise.resolveDelay(22, 2000);
      p1.then((value) => {
        console.log(value);
      });
    </script>
  </body>
</html>
